//
//  ModalAccess.m
//  wechatManager
//
//  Created by tangchunhui on 15/4/24.
//  Copyright (c) 2015年 tangchunhui. All rights reserved.
//

#import "ModalAccess.h"
#import "Global.h"

@implementation ModalAccess
-(NSDictionary *)modalUrl{
    
    NSString *urlString =[NSString  stringWithFormat:@"%@/index.php/Home/Patient/getAccessToken?appid=%@",[Global host],[Global weixinhao]];
    
    NSDictionary *dic = @{@"url":urlString,
                          @"method":@"GET"
                          };
    
    return dic;
}


-(void)processSuccess:(NSDictionary *)results {
    //    NSDictionary *info = [results valueForKey:@"info"];
    NSLog(@"%@",results);

    
    //[[DataModal instance].managedObjectContext save:&error];
    
    
}


@end
